package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author dc
 * @Classname ItemCat
 * @Date 2020/2/7 16:53
 */

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tb_item_cat")
public class ItemCat extends BasePojo{
    private static final long serialVersionUID = 2598079879945234152L;
    @TableId(type = IdType.AUTO)
    private Long id;
    /**父级id*/
    private Long parentId;
    /**分类名*/
    private String name;
    /**状态*/
    private Integer status;
    /**排序号*/
    private Integer sortOrder;
    /**是否为父级目录*/
    private Boolean isParent;
}
